# f = open(file="text.txt",mode="w",encoding="utf-8")
# f.write("hello")
# f.close()
#
dic = \
    {
    }
f = open("text.txt", mode="r", encoding="utf-8")
for line in f:
    line = line.split()
    dic[line[0]] = line
# for k in dic:
#     print(k,dic[k])
# # print(dic)


# f = open("text.txt",mode="a",encoding="utf-8")
# f.write(12345)
# f.close()

# for i in dic:
#     line = ",".join(dic[i])
#     print(line)